load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "s3",
    srcs = [
        "api.go",
        "body_hash.go",
        "bucket_location.go",
        "customizations.go",
        "doc.go",
        "doc_custom.go",
        "endpoint.go",
        "endpoint_errors.go",
        "errors.go",
        "host_style_bucket.go",
        "platform_handlers.go",
        "platform_handlers_go1.6.go",
        "service.go",
        "sse.go",
        "statusok_error.go",
        "unmarshal_error.go",
        "waiters.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/aws/aws-sdk-go/service/s3",
    importpath = "github.com/aws/aws-sdk-go/service/s3",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/github.com/aws/aws-sdk-go/aws",
        "//vendor/github.com/aws/aws-sdk-go/aws/arn",
        "//vendor/github.com/aws/aws-sdk-go/aws/awserr",
        "//vendor/github.com/aws/aws-sdk-go/aws/awsutil",
        "//vendor/github.com/aws/aws-sdk-go/aws/client",
        "//vendor/github.com/aws/aws-sdk-go/aws/client/metadata",
        "//vendor/github.com/aws/aws-sdk-go/aws/endpoints",
        "//vendor/github.com/aws/aws-sdk-go/aws/request",
        "//vendor/github.com/aws/aws-sdk-go/aws/signer/v4:signer",
        "//vendor/github.com/aws/aws-sdk-go/internal/s3err",
        "//vendor/github.com/aws/aws-sdk-go/internal/sdkio",
        "//vendor/github.com/aws/aws-sdk-go/private/checksum",
        "//vendor/github.com/aws/aws-sdk-go/private/protocol",
        "//vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream",
        "//vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi",
        "//vendor/github.com/aws/aws-sdk-go/private/protocol/rest",
        "//vendor/github.com/aws/aws-sdk-go/private/protocol/restxml",
        "//vendor/github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil",
        "//vendor/github.com/aws/aws-sdk-go/service/s3/internal/arn",
    ],
)
